<?php
namespace app\index\controller;

use think\Request;

class HelloWorld
{

    public function index($name = 'World')
    {
        $request = Request::instance();
        echo 'url:' . $request->url() . '<br>';
        
        return 'Hello' . $name . "!";
    }
    
    
    
}

?>